package cn.agiledata.bank.linkbank.impl.chinapay;

/**
 * 中国银联电子网上支付常量类
 * 
 * @author 马贤波
 * 
 */
class ChinapayNetConstant {
    /**
     * 银行网关编号
     */
    public static final String BANK_GATE_ID = "gateId";
    /**
     * 币种：人民币
     */
    public static final String CURRENCY_TYPE_RMB = "156";

    /**
     * 订单时间格式
     */
    public static final String DATE_FORMAT = "yyyyMMdd";

    /**
     * 商户后台反馈url
     */
    public static final String MERCHANT_URL_BACKGROUND = "BgRetUrl";

    /**
     * 商户页面反馈url
     */
    public static final String MERCHANT_URL_PAGE = "retUrl";

    /**
     * 备注（商户私有域）
     */
    public static final String REMARK = "Priv1";

    /**
     * 支付请求时付款金额
     */
    public static final String REQUEST_AMOUNT = "amount";

    /**
     * 支付请求时币种
     */
    public static final String REQUEST_CURRENCY_TYPE = "CuryId";

    /**
     * 支付请求时订单时间
     */
    public static final String REQUEST_DATE = "TransDate";

    /**
     * 支付请求时数字签名
     */
    public static final String REQUEST_DIGITAL_SIGN = "sign";

    /**
     * 支付请求时商户代码
     */
    public static final String REQUEST_MERCHANT_ID = "companyId";

    /**
     * 支付请求时订单编号
     */
    public static final String REQUEST_ORDER_ID = "orderId";

    /**
     * 支付请求时交易类型
     */
    public static final String REQUEST_TRANS_TYPE = "TransType";

    /**
     * 支付响应时付款金额
     */
    public static final String RESPONSE_AMOUNT = "amount";

    /**
     * 支付响应时币种
     */
    public static final String RESPONSE_CURRENCY_TYPE = "currencycode";

    /**
     * 支付响应时订单时间
     */
    public static final String RESPONSE_DATE = "transdate";

    /**
     * 支付响应时数字签名
     */
    public static final String RESPONSE_DIGITAL_SIGN = "sign";

    /**
     * 支付响应时商户代码
     */
    public static final String RESPONSE_MERCHANT_ID = "comanyId";

    /**
     * 支付响应时订单编号
     */
    public static final String RESPONSE_ORDER_ID = "orderId";

    /**
     * 支付响应时交易类型
     */
    public static final String RESPONSE_TRANS_TYPE = "transtype";

    /**
     * 返回码
     */
    public static final String TRANS_STATUS = "retCode";

    /**
     * 返回码：成功
     */
    public static final String TRANS_STATUS_SUCCESS = "0";
    
    /**
     * 交易类型：消费
     */
    public static final String TRANS_TYPE_PAY = "0001";
    
    /**
     * 交易类型：退货
     */
    public static final String TRANS_TYPE_REFUND = "0002";
    
    /**
     * 版本号
     */
    public static final String VERSION = "Version";
    
    /**
     * 商户密码
     *
     */
    
    public static final String KEY="key";
    
    /**
     * 响应备注
     *
     */
    
    public static final String EXT="ext1";
    

    private ChinapayNetConstant() {
    }
}
